package com.hl.pojo;

import java.util.HashSet;
import java.util.Set;

@SuppressWarnings("all")
public class Department implements java.io.Serializable {

	// Fields

	private Integer deptId;
	private Org org;
	private String deptName;
	private Integer deptType;
	private String deptDescribe;
	private Integer deptStatus;
	private Set deptHeadships = new HashSet(0);
	private Set employees = new HashSet(0);

	// Constructors

	/** default constructor */
	public Department() {
	}

	/** full constructor */
	public Department(Org org, String deptName, Integer deptType, String deptDescribe, Integer deptStatus, Set deptHeadships, Set employees) {
		this.org = org;
		this.deptName = deptName;
		this.deptType = deptType;
		this.deptDescribe = deptDescribe;
		this.deptStatus = deptStatus;
		this.deptHeadships = deptHeadships;
		this.employees = employees;
	}

	// Property accessors

	public Integer getDeptId() {
		return this.deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public Org getOrg() {
		return this.org;
	}

	public void setOrg(Org org) {
		this.org = org;
	}

	public String getDeptName() {
		return this.deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public Integer getDeptType() {
		return this.deptType;
	}

	public void setDeptType(Integer deptType) {
		this.deptType = deptType;
	}

	public String getDeptDescribe() {
		return this.deptDescribe;
	}

	public void setDeptDescribe(String deptDescribe) {
		this.deptDescribe = deptDescribe;
	}

	public Integer getDeptStatus() {
		return this.deptStatus;
	}

	public void setDeptStatus(Integer deptStatus) {
		this.deptStatus = deptStatus;
	}

	public Set getDeptHeadships() {
		return this.deptHeadships;
	}

	public void setDeptHeadships(Set deptHeadships) {
		this.deptHeadships = deptHeadships;
	}

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

}